package com.b2b.model.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Component
@Table(name = "orders_goods")
public class OrdersGoods {
    @Column(name = "order_id")
    private Integer orderId;
    @Column(name = "stock_id")
    private Integer stockId;
    @Column
    private Double price;
    @Column
    private Integer number;
}
